package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description: 所属区域
 * @author: jeecg-boot
 */
@Data
@TableName("sys_user_district")
public class SysUserDistrict implements Serializable {
	private static final long serialVersionUID = 1L;

	/**主键id*/
    @TableId(type = IdType.ASSIGN_ID)
	private String id;
	/**用户id*/
	private String userId;
	/**区域id*/
	private String disId;
	public SysUserDistrict(String id, String userId, String disId) {
		super();
		this.id = id;
		this.userId = userId;
		this.disId = disId;
	}

	public SysUserDistrict(String id, String disId) {
		this.userId = id;
		this.disId = disId;
	}
}
